package com.queue.receiver;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

import com.queue.config.NormalConfig;

/**
* @comments 普通队列
* @author  zg
* @date 2018年11月10日
*/
@Component
public class NormalMsgReceiver {

	//@RabbitHandler
	@RabbitListener(queues = NormalConfig.QUEUE_NORMAL)
	public void process(String msg) {
		
		System.out.println("Normal queue Receiver :" + msg);
		
	}
	 
}
